<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-11 10:44:26
 * @LastEditTime: 2023-08-31 10:43:45
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Http\Controllers\Pro;

use App\Http\Controllers\Controller;

use App\Http\Services\Pro\PotService;
use Illuminate\Http\Request;

/**
 * @package App\Http\Controllers\BaseData
 */
class PotController extends Controller
    {
    public function __construct(PotService $service)
        {
        $this->service = $service;
        }

    protected function save()
        {
        return $this->service->save();
        }

    public function delete()
        {
        return $this->service->delete();
        }
    public function printReport()
        {
        return $this->service->printReport();
        }
    public function emergency()
        {
        return $this->service->emergency(request()->route("param"));
        }
    }